﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LoginControl.ascx.cs" Inherits="WebControl_LoginControl" %>
<style type="text/css">
    .auto-style1 {
        width: 42px;
    }
</style>
<asp:Login ID="Login1" runat="server" OnAuthenticate="Login1_Authenticate">
    <LayoutTemplate>
        <div style="float: right">
            <table cellpadding="0" cellspacing="0" style="background: #ffffff" class="loginTB">
                <tr>
                    <td colspan="2" class="loginTitle">
                        Sign in
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="title">
                        User ID
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="inputText">
                        <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="ctl00$Login1">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="title">
                        Password
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="inputText">
                        <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="ctl00$Login1">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        Forgot <a href="ChangePass.aspx">Password</a>
                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:CheckBox ID="RememberMe" runat="server" Text="        Remember" />
                    </td>
                </tr>
                <tr class="button">
                    <td class="auto-style1">
                        <asp:ImageButton ID="LoginImageButton" runat="server" CommandName="Login" ValidationGroup="ctl00$Login1" ImageUrl="/Images/sigin.png" />
                    </td>
                    <td>
                        <asp:ImageButton ID="RegisterImageButton" runat="server" CommandName="Register" ImageUrl="/Images/Register.png" CssClass="register" />
                    </td>
                </tr>
            </table>
        </div>
    </LayoutTemplate>
</asp:Login>
